package com.citycloud.ccuap.tc.oauth2.mapper;


import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.citycloud.ccuap.tc.oauth2.dto.SiteInfoForSwitchSite;
import com.citycloud.ccuap.tc.oauth2.dto.SiteType;

@Mapper
public interface ProjectMapper {

    String selectClientIdBySiteId(@Param("projectId") long projectId);

    List<SiteInfoForSwitchSite> selectListByUserId(@Param("userId") Long userId,
                                                   @Param("projectTypeId") String projectTypeId,
                                                   @Param("appType") Boolean appType);

    Map<String, Object> selectProjectByProjectId(@Param("projectId") Long projectId);

    List<SiteType> selectSiteTypes();
}
